package com.dv.driverless.service;

import com.dv.driverless.domain.BasicDepartment;

import java.util.List;

/**
 * 运输单位信息Service接口
 *
 * @author ruoyi
 * @date 2023-04-06
 */
public interface IBasicDepartmentService
{
    /**
     * 查询运输单位信息
     *
     * @param id 运输单位信息主键
     * @return 运输单位信息
     */
    public BasicDepartment selectBasicDepartmentById(Long id);

    /**
     * 查询运输单位信息列表
     *
     * @param basicDepartment 运输单位信息
     * @return 运输单位信息集合
     */
    public List<BasicDepartment> selectBasicDepartmentList(BasicDepartment basicDepartment);

    /**
     * 新增运输单位信息
     *
     * @param basicDepartment 运输单位信息
     * @return 结果
     */
    public int insertBasicDepartment(BasicDepartment basicDepartment);

    /**
     * 修改运输单位信息
     *
     * @param basicDepartment 运输单位信息
     * @return 结果
     */
    public int updateBasicDepartment(BasicDepartment basicDepartment);

    /**
     * 批量删除运输单位信息
     *
     * @param ids 需要删除的运输单位信息主键集合
     * @return 结果
     */
    public int deleteBasicDepartmentByIds(Long[] ids);

    /**
     * 删除运输单位信息信息
     *
     * @param id 运输单位信息主键
     * @return 结果
     */
    public int deleteBasicDepartmentById(Long id);
}
